/*
 * @Author: 王俊杰 “251082517@qq.com”
 * @Date: 2023-07-05 11:15:20
 * @LastEditors: your name
 * @LastEditTime: 2025-11-18 15:24:45
 * @FilePath: /vite-project/src/router/modules/pc-routes.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// pc端路由
export default [
  {
    path: '/',
    name: 'main',
    component: () => import('@/views/layout/index.vue'),
    children: [
      {
        path: '',
        name: 'home',
        component: () => import('@/views/main/index.vue')
      }
    ]
  },
  {
    path: '/pins/:id',
    name: 'pins',
    component: () => import('@/views/pins/index.vue')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login-register/login/index.vue')
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('@/views/login-register/register/index.vue')
  },
  {
    path: '/nav-page',
    name: 'nav-page',
    component: () => import('@/views/pc-page/nav-page/nav-page.vue'),
    meta: {
      title: '导航页'
    }
  },
  {
    path: '/goods',
    name: 'goods',
    component: () => import('@/views/pc-page/goods/goods.vue'),
    meta: {
      title: '商品列表'
    }
  },
  {
    path: '/news',
    name: 'news',
    component: () => import('@/views/pc-page/news/index.vue'),
    meta: {
      title: '新闻列表'
    }
  },
  {
    path: '/news-details',
    name: 'news-details',
    component: () => import('@/views/pc-page/news/news-details.vue'),
    meta: {
      title: '新闻详情'
    }
  },
  {
    path: '/vue-mindmap-next',
    name: 'vue-mindmap-next',
    component: () => import('@/views/mindmap/vue-mindmap-next/vue-mindmap-next.vue')
  }
]
